--[[

        hero_lvup.lua
        exported by excel2lua.py
        from file:hero_lvup.xlsx

--]]

local _data = {
  [1] = {lv_id = 1,level = 1,hp_add = 200,atk_add = 50,def_add = 20,exp = 0,money = 0,},
  [2] = {lv_id = 1,level = 2,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [3] = {lv_id = 1,level = 3,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [4] = {lv_id = 1,level = 4,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [5] = {lv_id = 1,level = 5,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [6] = {lv_id = 1,level = 6,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [7] = {lv_id = 1,level = 7,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [8] = {lv_id = 1,level = 8,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [9] = {lv_id = 1,level = 9,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [10] = {lv_id = 1,level = 10,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [11] = {lv_id = 1,level = 11,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [12] = {lv_id = 1,level = 12,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [13] = {lv_id = 1,level = 13,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [14] = {lv_id = 1,level = 14,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [15] = {lv_id = 1,level = 15,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [16] = {lv_id = 1,level = 16,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [17] = {lv_id = 1,level = 17,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [18] = {lv_id = 1,level = 18,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [19] = {lv_id = 1,level = 19,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [20] = {lv_id = 1,level = 20,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [21] = {lv_id = 1,level = 21,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [22] = {lv_id = 1,level = 22,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [23] = {lv_id = 1,level = 23,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [24] = {lv_id = 1,level = 24,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [25] = {lv_id = 1,level = 25,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [26] = {lv_id = 1,level = 26,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [27] = {lv_id = 1,level = 27,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [28] = {lv_id = 1,level = 28,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [29] = {lv_id = 1,level = 29,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [30] = {lv_id = 1,level = 30,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [31] = {lv_id = 1,level = 31,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [32] = {lv_id = 1,level = 32,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [33] = {lv_id = 1,level = 33,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [34] = {lv_id = 1,level = 34,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [35] = {lv_id = 1,level = 35,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [36] = {lv_id = 1,level = 36,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [37] = {lv_id = 1,level = 37,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [38] = {lv_id = 1,level = 38,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [39] = {lv_id = 1,level = 39,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [40] = {lv_id = 1,level = 40,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [41] = {lv_id = 1,level = 41,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [42] = {lv_id = 1,level = 42,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [43] = {lv_id = 1,level = 43,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [44] = {lv_id = 1,level = 44,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [45] = {lv_id = 1,level = 45,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [46] = {lv_id = 1,level = 46,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [47] = {lv_id = 1,level = 47,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [48] = {lv_id = 1,level = 48,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [49] = {lv_id = 1,level = 49,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
  [50] = {lv_id = 1,level = 50,hp_add = 200,atk_add = 50,def_add = 20,exp = 300,money = 100,},
}

local id_to_index={
   ['1_1'] = 1,
   ['1_2'] = 2,
   ['1_3'] = 3,
   ['1_4'] = 4,
   ['1_5'] = 5,
   ['1_6'] = 6,
   ['1_7'] = 7,
   ['1_8'] = 8,
   ['1_9'] = 9,
   ['1_10'] = 10,
   ['1_11'] = 11,
   ['1_12'] = 12,
   ['1_13'] = 13,
   ['1_14'] = 14,
   ['1_15'] = 15,
   ['1_16'] = 16,
   ['1_17'] = 17,
   ['1_18'] = 18,
   ['1_19'] = 19,
   ['1_20'] = 20,
   ['1_21'] = 21,
   ['1_22'] = 22,
   ['1_23'] = 23,
   ['1_24'] = 24,
   ['1_25'] = 25,
   ['1_26'] = 26,
   ['1_27'] = 27,
   ['1_28'] = 28,
   ['1_29'] = 29,
   ['1_30'] = 30,
   ['1_31'] = 31,
   ['1_32'] = 32,
   ['1_33'] = 33,
   ['1_34'] = 34,
   ['1_35'] = 35,
   ['1_36'] = 36,
   ['1_37'] = 37,
   ['1_38'] = 38,
   ['1_39'] = 39,
   ['1_40'] = 40,
   ['1_41'] = 41,
   ['1_42'] = 42,
   ['1_43'] = 43,
   ['1_44'] = 44,
   ['1_45'] = 45,
   ['1_46'] = 46,
   ['1_47'] = 47,
   ['1_48'] = 48,
   ['1_49'] = 49,
   ['1_50'] = 50,
}

local hero_lvup={}

function hero_lvup.length() 
   return #_data 
end 

function hero_lvup.indexOf(index) 
   return _data[index] 
end 

function hero_lvup.get(value0,value1) 
  return hero_lvup.indexOf(id_to_index[value0..'_'..value1])
end 

return hero_lvup